CancellationSignal
Deprecated
This class was added to the platform in SDK 16, which is below Jetpack's minimum SDK requirement. Use the platform-supplied version of this class: android.os.CancellationSignal
Static library support version of the framework's android.os.CancellationSignal. Used to write apps that run on platforms prior to Android 4.1. See the framework SDK documentation for a class overview.
Constructors
Types
Link copied to clipboard
interface OnCancelListener
Listens for cancellation.
Functions
Link copied to clipboard
Gets the framework android.os.CancellationSignal associated with this object.
Link copied to clipboard
Returns true if the operation has been canceled.
Link copied to clipboard
Sets the cancellation listener to be called when canceled.
Link copied to clipboard
Throws OperationCanceledException if the operation has been canceled.